<div class="fui-page fui-page-current page-commission-down">
    <div class="fui-header">
        <div class="fui-header-left">
            <a class="back" ng-click="goback();"></a>
        </div>
        <div class="title">活动管理</div>
    </div>
    <div class="fui-content">
        <div ng-repeat="item in pagedata.list" class="fui-list-group">
		<div class="fui-list" ng-click="access_json('/merch.game/edit/id='+item.id)">
			<div class="fui-list-media">
				<i class="icon icon-qrcode" style="font-size:2rem"></i>
			</div>
			<div class="fui-list-inner">
				<div class="row">
				      <div class="row-text" >
					 {{item.title}}
				      </div>
				</div>
				<div class="subtitle">
				    <i class="fui-tag fui-tag-red">{{pagedata.type[item.type]}}</i>
					限:{{item.saonum}}次
				</div>

			</div>
			<div class="row-remark">
				<div class="text">已扫:{{item.issaonum}}次</div>
				<div class="text">{{item.createtime}}</div>
			</div>
		</div>
		<div class="fui-list-group-title lineblock opblock" style="height:4rem">
				<span class="status noremark">
					<div class="btn btn-sm btn-default-o order-delete" href="javascript:;" ng-click="access_json('/merch.game/copy/id='+item.id)">复制活动</div>
					<div class="btn btn-sm btn-default-o order-delete" href="javascript:;" ng-click="access_json('/merch.hexiao_user//id='+item.id)">核销员</div>
					<div class="btn btn-sm btn-default-o order-delete" href="javascript:;" ng-click="modal_json({'action':'','op':'tui','query':'&id='+item.id,'html':'','plugin':''})">推广</div>
					<div class="btn btn-sm btn-default-o order-delete" href="javascript:;" ng-click="access_json('/merch.coupon_log//id='+item.id)">领券记录</div>
					<div class="btn btn-sm btn-default-o order-delete" href="javascript:;" ng-click="modal_json({'action':'','op':'count','query':'&id='+item.id,'html':'','plugin':''})">活动数据</div>
					<div class="btn btn-sm btn-default-o order-delete" href="javascript:;" ng-click="access_json('/merch.sao_log//id='+item.id)">参与用户</div>
				</span>
        </div>
		</div>
		<div class='infinite-loading' style="display:none" id="loading_show"><span class='fui-preloader'></span><span class='text'> 正在加载...</span></div>
		<div ng-if="pagedata.list.length==0" class='content-empty'>
			<i class="icon jinyunicon icon-cry" style="width: 6rem;margin-bottom: 0.5rem;"></i>
			<br/>
			<p style="color: #999;font-size: .75rem">暂时没有任何数据</p>
		</div>

    </div>
</div>
<div ng-include="sys_html('_footer')"></div>
<script>
scope.tool.get_list('jy_douyintui/merch.game/list/',true);
scope.pagedata.scroll_bottom=function(){
	scope.tool.get_list('jy_douyintui/merch.game/list/');
}
</script>

